#include <future>
#include <iostream>
#include <chrono>
#include <thread>
using namespace std;
int thread_function(){

    cout<<"thread function"<<endl;
    return 0;
}
int main(){
    auto t=std::thread(thread_function);

    cout<<"this thread:"<<std::this_thread::get_id()<<endl;
    
    cout<<"thread id:"<<t.get_id()<<endl;
    cout<<"cpu num: "<<std::thread::hardware_concurrency();
    t.join();
}